[INFO] cloning repository https://github.com/kuroneko1996/rusty_roguelike
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kuroneko1996/rusty_roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkuroneko1996%2Frusty_roguelike", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkuroneko1996%2Frusty_roguelike'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6e8e88d9f673234d5c977103512c63212fa8b8ad
[INFO] checking kuroneko1996/rusty_roguelike against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkuroneko1996%2Frusty_roguelike" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kuroneko1996/rusty_roguelike on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kuroneko1996/rusty_roguelike
[INFO] finished tweaking git repo https://github.com/kuroneko1996/rusty_roguelike
[INFO] tweaked toml for git repo https://github.com/kuroneko1996/rusty_roguelike written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/kuroneko1996/rusty_roguelike already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 51df895ff84d330a66705506d9a28a628fa5a14e839e7b898115eae22a886993
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "51df895ff84d330a66705506d9a28a628fa5a14e839e7b898115eae22a886993", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51df895ff84d330a66705506d9a28a628fa5a14e839e7b898115eae22a886993", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51df895ff84d330a66705506d9a28a628fa5a14e839e7b898115eae22a886993", kill_on_drop: false }`
[INFO] [stdout] 51df895ff84d330a66705506d9a28a628fa5a14e839e7b898115eae22a886993
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8ba8f8cfac14df47c4953fb65ce5303348914ea3e351fa5ec3af02bd3ffb297f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8ba8f8cfac14df47c4953fb65ce5303348914ea3e351fa5ec3af02bd3ffb297f", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.8
[INFO] [stderr]    Compiling gcc v0.3.38
[INFO] [stderr]     Checking libc v0.2.17
[INFO] [stderr]     Checking rustc-serialize v0.3.19
[INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45
[INFO] [stdout]     |
[INFO] [stdout] 147 | ...                   &f_name: &str,
[INFO] [stdout]     |                       ^^^^^^^ pattern not allowed in function without body
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand v0.3.14
[INFO] [stderr]    Compiling tcod-sys v4.0.1
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0642`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-serialize`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: libtcod/src/zlib/gzlib.c: In function 'gz_open':
[INFO] [stderr] warning: libtcod/src/zlib/gzlib.c:14:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning:    14 | #  define LSEEK lseek
[INFO] [stderr] warning:       |                 ^~~~~
[INFO] [stderr] warning: libtcod/src/zlib/gzlib.c:250:24: note: in expansion of macro 'LSEEK'
[INFO] [stderr] warning:   250 |         state->start = LSEEK(state->fd, 0, SEEK_CUR);
[INFO] [stderr] warning:       |                        ^~~~~
[INFO] [stderr] warning: libtcod/src/zlib/gzread.c: In function 'gz_load':
[INFO] [stderr] warning: libtcod/src/zlib/gzread.c:30:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning:    30 |         ret = read(state->fd, buf + *have, len - *have);
[INFO] [stderr] warning:       |               ^~~~
[INFO] [stderr] warning:       |               fread
[INFO] [stderr] warning: libtcod/src/zlib/gzread.c: In function 'gzclose_r':
[INFO] [stderr] warning: libtcod/src/zlib/gzread.c:586:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning:   586 |     ret = close(state->fd);
[INFO] [stderr] warning:       |           ^~~~~
[INFO] [stderr] warning:       |           pclose
[INFO] [stderr] warning: libtcod/src/zlib/gzwrite.c: In function 'gz_comp':
[INFO] [stderr] warning: libtcod/src/zlib/gzwrite.c:84:15: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning:    84 |         got = write(state->fd, strm->next_in, strm->avail_in);
[INFO] [stderr] warning:       |               ^~~~~
[INFO] [stderr] warning:       |               fwrite
[INFO] [stderr] warning: libtcod/src/zlib/gzwrite.c: In function 'gzclose_w':
[INFO] [stderr] warning: libtcod/src/zlib/gzwrite.c:561:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning:   561 |     if (close(state->fd) == -1)
[INFO] [stderr] warning:       |         ^~~~~
[INFO] [stderr] warning:       |         pclose
[INFO] [stderr] warning: libtcod/src/parser_c.c: In function 'TCOD_parser_error':
[INFO] [stderr] warning: libtcod/src/parser_c.c:89:38: warning: '%s' directive writing up to 2047 bytes into a region of size 2029 [-Wformat-overflow=]
[INFO] [stderr] warning:    89 |  sprintf(buf2,"error in %s line %d : %s",lex->filename,lex->file_line,buf);
[INFO] [stderr] warning:       |                                      ^~                               ~~~
[INFO] [stderr] warning: libtcod/src/parser_c.c:89:2: note: 'sprintf' output 20 or more bytes (assuming 2067) into a destination of size 2048
[INFO] [stderr] warning:    89 |  sprintf(buf2,"error in %s line %d : %s",lex->filename,lex->file_line,buf);
[INFO] [stderr] warning:       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libtcod/src/parser_c.c: In function 'default_new_flag':
[INFO] [stderr] warning: libtcod/src/parser_c.c:781:20: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
[INFO] [stderr] warning:   781 |  sprintf(tmp,"%s.%s",cur_prop_name,name);
[INFO] [stderr] warning:       |                    ^
[INFO] [stderr] warning: libtcod/src/parser_c.c:781:2: note: 'sprintf' output 2 or more bytes (assuming 513) into a destination of size 512
[INFO] [stderr] warning:   781 |  sprintf(tmp,"%s.%s",cur_prop_name,name);
[INFO] [stderr] warning:       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libtcod/src/parser_c.c: In function 'default_new_property':
[INFO] [stderr] warning: libtcod/src/parser_c.c:792:20: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
[INFO] [stderr] warning:   792 |  sprintf(tmp,"%s.%s",cur_prop_name,propname);
[INFO] [stderr] warning:       |                    ^
[INFO] [stderr] warning: libtcod/src/parser_c.c:792:2: note: 'sprintf' output 2 or more bytes (assuming 513) into a destination of size 512
[INFO] [stderr] warning:   792 |  sprintf(tmp,"%s.%s",cur_prop_name,propname);
[INFO] [stderr] warning:       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libtcod/src/sys_c.c: In function 'TCOD_sys_get_directory_content':
[INFO] [stderr] warning: libtcod/src/sys_c.c:159:25: warning: passing argument 2 of 'TCOD_list_push' makes pointer from integer without a cast [-Wint-conversion]
[INFO] [stderr] warning:   159 |     TCOD_list_push(list,strdup(dirent->d_name));
[INFO] [stderr] warning:       |                         ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning:       |                         |
[INFO] [stderr] warning:       |                         int
[INFO] [stderr] warning: In file included from libtcod/include/libtcod.h:178,
[INFO] [stderr] warning:                  from libtcod/src/sys_c.c:41:
[INFO] [stderr] warning: libtcod/include/list.h:37:61: note: expected 'const void *' but argument is of type 'int'
[INFO] [stderr] warning:    37 | TCODLIB_API void TCOD_list_push(TCOD_list_t l, const void * elt);
[INFO] [stderr] warning:       |                                                ~~~~~~~~~~~~~^~~
[INFO] [stderr] warning: libtcod/src/sys_c.c: In function 'TCOD_sys_clipboard_get':
[INFO] [stderr] warning: libtcod/src/sys_c.c:645:12: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
[INFO] [stderr] warning:   645 |  char *ret=strdup(xbuf);
[INFO] [stderr] warning:       |            ^~~~~~
[INFO] [stderr] warning: libtcod/src/sys_opengl_c.c:35:10: fatal error: SDL/SDL.h: No such file or directory
[INFO] [stderr] warning:    35 | #include <SDL/SDL.h>
[INFO] [stderr] warning:       |          ^~~~~~~~~~~
[INFO] [stderr] warning: compilation terminated.
[INFO] [stderr] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "8ba8f8cfac14df47c4953fb65ce5303348914ea3e351fa5ec3af02bd3ffb297f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ba8f8cfac14df47c4953fb65ce5303348914ea3e351fa5ec3af02bd3ffb297f", kill_on_drop: false }`
[INFO] [stdout] 8ba8f8cfac14df47c4953fb65ce5303348914ea3e351fa5ec3af02bd3ffb297f
